package com.qqtech.qquan.mall.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class MallProduct extends BaseDomain{

	//columns START
    /** 商品名 */
	private java.lang.String name;
    /** 品牌ID */
	private java.lang.Integer brandId;
	/** 品牌名称 【兼容圈商】*/
	private java.lang.String brandName;
    /** 供应商id */
	private java.lang.Integer supplierId;
    /** 分类id */
	private java.lang.String categoryId;
    /** 店铺id */
	private java.lang.Integer shopId;
    /** 计量单位 */
	private java.lang.String unit;
    /** 库存量 */
	private java.lang.Integer stock;
    /** 销售量 */
	private java.lang.Integer saleCount;
    /** 销售价格 */
	private BigDecimal price;
    /** 市场价格（原价） */
	private BigDecimal marketPrice;
    /** 商品图片，多个以,分开 */
	private java.lang.String img;
    /** 商品介绍 */
	private java.lang.String resume;
    /** 商品介绍图片 */
	private java.lang.String resumeImg;
    /** 商品特色描述（简短视、音频） */
	private java.lang.String feature;
    /** pv */
	private java.lang.Integer pv;
    /** 是否推荐:1-不推荐,2-推荐 */
	private java.lang.Integer isRecommend;
    /** 推荐排序,越小越靠前,0表示不推荐 */
	private java.lang.Integer recommendOidx;
    /** 状态:1-下架,2-上架,3-失效 */
	private java.lang.Integer status;
    /** 状态变更时间 */
	private java.sql.Timestamp statusAt;
	/** 商品评价数量*/
	private java.lang.Integer feedbackCount;
	/** 副标题/属性描述 */
	private java.lang.String subtitle;
	/**是否全新的：1-是;2-否**/
	private java.lang.Integer isAllNew;
	/** 收藏量 */
	private java.lang.Integer concernCount;
	/**是否首页推荐（发现模块）：1-是;2-否**/
	private java.lang.Integer discoverRecommend;
	//columns END
	public MallProduct(){
	}

	public MallProduct( java.lang.Integer id ){
		this.id = id;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setBrandId(java.lang.Integer brandId) {
		this.brandId = brandId;
	}

	public java.lang.Integer getBrandId() {
		return this.brandId;
	}
	
	public void setSupplierId(java.lang.Integer supplierId) {
		this.supplierId = supplierId;
	}

	public java.lang.Integer getSupplierId() {
		return this.supplierId;
	}
	
	public void setCategoryId(java.lang.String categoryId) {
		this.categoryId = categoryId;
	}

	public java.lang.String getCategoryId() {
		return this.categoryId;
	}
	
	public void setShopId(java.lang.Integer shopId) {
		this.shopId = shopId;
	}

	public java.lang.Integer getShopId() {
		return this.shopId;
	}
	
	public void setUnit(java.lang.String unit) {
		this.unit = unit;
	}

	public java.lang.String getUnit() {
		return this.unit;
	}
	
	public void setStock(java.lang.Integer stock) {
		this.stock = stock;
	}

	public java.lang.Integer getStock() {
		return this.stock;
	}
	
	public void setSaleCount(java.lang.Integer saleCount) {
		this.saleCount = saleCount;
	}

	public java.lang.Integer getSaleCount() {
		return this.saleCount;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPrice() {
		return this.price;
	}
	
	public void setMarketPrice(BigDecimal marketPrice) {
		this.marketPrice = marketPrice;
	}

	public BigDecimal getMarketPrice() {
		return this.marketPrice;
	}
	
	public void setImg(java.lang.String img) {
		this.img = img;
	}

	public java.lang.String getImg() {
		return this.img;
	}
	
	public void setResume(java.lang.String resume) {
		this.resume = resume;
	}

	public java.lang.String getResume() {
		return this.resume;
	}
	
	public void setResumeImg(java.lang.String resumeImg) {
		this.resumeImg = resumeImg;
	}

	public java.lang.String getResumeImg() {
		return this.resumeImg;
	}
	
	public void setFeature(java.lang.String feature) {
		this.feature = feature;
	}

	public java.lang.String getFeature() {
		return this.feature;
	}
	
	public void setPv(java.lang.Integer pv) {
		this.pv = pv;
	}

	public java.lang.Integer getPv() {
		return this.pv;
	}
	
	public void setIsRecommend(java.lang.Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	public java.lang.Integer getIsRecommend() {
		return this.isRecommend;
	}
	
	public void setRecommendOidx(java.lang.Integer recommendOidx) {
		this.recommendOidx = recommendOidx;
	}

	public java.lang.Integer getRecommendOidx() {
		return this.recommendOidx;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setStatusAt(java.sql.Timestamp statusAt) {
		this.statusAt = statusAt;
	}

	public java.sql.Timestamp getStatusAt() {
		return this.statusAt;
	}
	
	public java.lang.Integer getFeedbackCount() {
		return feedbackCount;
	}

	public void setFeedbackCount(java.lang.Integer feedbackCount) {
		this.feedbackCount = feedbackCount;
	}

	public java.lang.String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(java.lang.String subtitle) {
		this.subtitle = subtitle;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.lang.String getBrandName() {
		return brandName;
	}

	public void setBrandName(java.lang.String brandName) {
		this.brandName = brandName;
	}

	public java.lang.Integer getIsAllNew() {
		return isAllNew;
	}

	public void setIsAllNew(java.lang.Integer isAllNew) {
		this.isAllNew = isAllNew;
	}

	public java.lang.Integer getConcernCount() {
		return concernCount;
	}

	public void setConcernCount(java.lang.Integer concernCount) {
		this.concernCount = concernCount;
	}

	public java.lang.Integer getDiscoverRecommend() {
		return discoverRecommend;
	}

	public void setDiscoverRecommend(java.lang.Integer discoverRecommend) {
		this.discoverRecommend = discoverRecommend;
	}
}

